﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UbwApplication
{
    public static class EventHandlerExtension
    {
        public static void Raise<T>(this EventHandler<T> theEvent, object sender, T args) where T : EventArgs
        {
            if (theEvent != null)
            {
                theEvent(sender, args);
            }
        }
    }
}
